<?
	if(!empty($data))
	{
		$enroll_link = set_value('enrollment_link',$data->enrollment_link);
		$stud_link = set_value('student_link',$data->student_link);
		$sys_link = set_value('system_link',$data->system_link);
		$acc_link = set_value('system_link',$data->accounting_link);
	}else{
		$enroll_link = set_value('enrollment_link');
		$stud_link = set_value('student_link');
		$sys_link = set_value('system_link');
		$acc_link = set_value('accounting_link');
	}
?>
<div>
	<form action="<?=site_url('backend_administrator');?>" method="POST">
		<div class="row collapse">
			<div class="small-4 large-3 columns">
				<span class="prefix">Enrollment Full Link URL</span>
			</div>
			<div class="small-8 large-9 columns">
				<input type="url" placeholder="ENROLLMENT LINK ENROLLMENT LINK" name="enrollment_link" class="btn" value="<?=$enroll_link;?>">
			</div>
		</div>
		<div class="row collapse">
			<div class="small-4 large-3 columns">
				<span class="prefix">Student Full Link URL</span>
			</div>
			<div class="small-8 large-9 columns">
				<input type="url" placeholder="STUDENT LINK STUDENT LINK" value="<?=$stud_link;?>" name="student_link" class="btn">
			</div>
		</div>
		<div class="row collapse">
			<div class="small-4 large-3 columns">
				<span class="prefix">System Full Link URL</span>
			</div>
			<div class="small-8 large-9 columns">
				<input type="url" placeholder="SYSTEM LINK SYSTEM LINK" name="system_link" value="<?=$sys_link;?>" class="btn">
			</div>
		</div>
		<div class="row collapse">
			<div class="small-4 large-3 columns">
				<span class="prefix">Accounting Full Link URL</span>
			</div>
			<div class="small-8 large-9 columns">
				<input type="url" placeholder="SYSTEM LINK SYSTEM LINK" name="accounting_link" value="<?=$acc_link;?>" class="btn">
			</div>
		</div>
		<input type="submit" name="save_backend_settings" value="Save Settings" class="btn btn-primary">
		<a href="<?=site_url('backend_administrator/logout');?>" class="confirm btn btn-danger" title="Are you sure you want to logout?">Logout</a>
	</form>
	<?=$system_message;?>
	<?php if(validation_errors() !== '') echo '<div class="alert alertbox">'.validation_errors().'</div>';?>
</div>